Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Determining Vector Cross Products


Q3Vector2D_Cross

You can use the Q3Vector2D_Cross function to determine the cross product of two two-dimensional vectors.

float Q3Vector2D_Cross (
const TQ3Vector2D *v1, 
const TQ3Vector2D *v2);
v1
A two-dimensional vector.
v2
A two-dimensional vector.
DESCRIPTION
The Q3Vector2D_Cross function returns, as its function result, the cross product of the vectors v1 and v2.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996